using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class PutAd
    {
        private Int16 mTradeID;
        [FieldLength(2)]
        public Int16 TradeID
        {
            get { return mTradeID; }
            set { mTradeID = value; }
        }

        private Int16 mStockNo;
        [FieldLength(2)]
        public Int16 StockNo
        {
            get { return mStockNo; }
            set { mStockNo = value; }
        }

        private Int32 mVol;
        [FieldLength(4)]
        public Int32 Vol
        {
            get { return mVol; }
            set { mVol = value; }
        }

        private Double mPrice;
        [FieldLength(8)]
        public Double Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private Int32 mFirmNo;
        [FieldLength(4)]
        public Int32 FirmNo
        {
            get { return mFirmNo; }
            set { mFirmNo = value; }
        }

        private String mSide;
        [FieldLength(1)]
        public String Side
        {
            get { return mSide; }
            set { mSide = value; }
        }

        private String mBoard;
        [FieldLength(1)]
        public String Board
        {
            get { return mBoard; }
            set { mBoard = value; }
        }

        private Int32 mTime;
        [FieldLength(4)]
        public Int32 Time
        {
            get { return mTime; }
            set { mTime = value; }
        }

        private String mFlag;
        [FieldLength(1)]
        public String Flag
        {
            get { return mFlag; }
            set { mFlag = value; }
        }
    }
}
